﻿
namespace Redbrick.Silverlight.Common
{
	public static partial class Date
	{
		public static int Century(this int n)
		{
			return n - (n % 100);
		}
		public static int Decade(this int n)
		{
			return n - (n % 10);
		}

	}
}
